<?php
class Messages {
	function __construct(){
		///constructor
	}
	static function error($text){
		echo "<span class=\"error\">$text</span>\n";
	}
	static function ok($text){
		echo "<span class=\"ok\">$text</span>\n";
	}
	static function write($text){
		echo $text."\n";
	}
	static function info($text){
		echo "<div id=\"info\">$text</div>\n";
	}
}
?>